package com.cyj.spring.springframeword.beans;

/**
 * @Description: 定义bean异常
 * @BelongsProject: small-spring
 * @BelongsPackage: com.cyj.spring.springframeword.beans
 * @Author: ChenYongJia
 * @CreateTime: 2021-07-26 14:30
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
public class BeansException extends RuntimeException {

    /**
     * 定义 bean 异常
     *
     * @param msg 异常信息
     * @return
     * @date 2021/7/27 15:32
     * @author ChenYongJia
     * @version 1.0
     */
    public BeansException(String msg) {
        super(msg);
    }

    /**
     * 定义 bean 异常
     *
     * @param msg 异常信息
     * @param cause 什么导致的异常
     * @return
     * @date 2021/7/27 15:32
     * @author ChenYongJia
     * @version 1.0
     */
    public BeansException(String msg, Throwable cause) {
        super(msg, cause);
    }

}
